package com.chess.chessplay.service;

import com.chess.chessplay.pojo.Player;

public interface PlayerService {

    //根据id查找用户
    Player findPlayerById(Integer id);

    //根据username查找用户
    Player findPlayerByUsername(String username);

    //新增用户
    void InsertPlayer(Player player);

    void updatePlayerById(Player player);
}
